import request from '@/router/axios';
// 查询订单
export const getOffer = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-offer',
    method: 'GET',
    params:{
      query
    }
  })
}
// 查询客户经理
export const getCustomerManager = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-customer-manager',
    method: 'GET',
    params:{
      query
    }
  })
}
// 查询客户
export const getCustomer = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-customer',
    method: 'GET',
    params:{
      query
    }
  })
}
// 查询账户
export const getAccount = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-account',
    method: 'GET',
    params:{
      query
    }
  })
}
// 查询账户运营人
export const getOperator = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-operator',
    method: 'GET',
    params:{
      query
    }
  })
}
// 查询销售经理
export const getSalesManager = query => {
  return request({
    url: '/api/beetles-business/remote-search/filter-sales-manager',
    method: 'GET',
    params:{
      query
    }
  })
}
